import Vue from 'vue';
import App from './App.vue';
import router from "@/router";
import store from "./store";
import "@/mock";
import Validate from "@/main/validate";
import elementUI from "@/main/elementUI";
import lazyLoad from "@/main/lazyLoad";
import components from "@/main/components";


Vue.config.productionTip = false;

Vue.use(Validate);
Vue.use(elementUI);
Vue.use(lazyLoad);
Vue.use(components);



new Vue({
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  router,
  store
}).$mount('#app')
